#ifndef __MYCURL_HEADER
#define __MYCURL_HEADER

#include <curl/curl.h>
#include <string>
#include <iostream>

struct MyCurl {
	int id;
	CURL *curl;
	std::string cookie_path;
	
	MyCurl(int ID, std::string CP): id(ID), cookie_path(CP) {
		curl = curl_easy_init();
	}
	~MyCurl() {
		curl_easy_cleanup(curl);		
	}
};

#endif // __MYCURL_HEADER

